package com.hummer.browser.phantomjs;

import java.io.File;

import org.openqa.selenium.MutableCapabilities;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.phantomjs.PhantomJSDriver;
import org.openqa.selenium.phantomjs.PhantomJSDriverService;
import org.openqa.selenium.remote.service.DriverService;

import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.hummer.browser.AbstractBrowser;
import com.hummer.browser.BrowserConfig;

public class PhantomJSBrowser extends AbstractBrowser {

	public PhantomJSBrowser(BrowserConfig<?> config) {
		super(config);
	}

	public static void main(String[] args) {
		System.setProperty("", "phantomjs");
		PhantomJSDriver driver = new PhantomJSDriver();
	}
	
	@Override
	protected DriverService createDefaultDriverService(File exe, int port, ImmutableList<String> args,
			ImmutableMap<String, String> env) {
//		PhantomJSDriverService ds = PhantomJSDriverService.createDefaultService(desiredCapabilities)
		return null;
	}

	@Override
	protected WebDriver initDriver(DriverService ds, MutableCapabilities op) {
		return null;
	}

}
